package day12;

public class demo2 {
    public static void main(String[] args) {
        //空指针
        String s=null;
        System.out.println(s.length());
        //数组越界
        int nums[]=new int[5];
        System.out.println(nums[5]);
    }
}
